package com.juyu.miliao.authentication.domain;

import lombok.Data;

import java.time.LocalDateTime;

@Data
public class UserLogin {
    private Long userId;
    private String username;
    private String password;
    private String openid;
    private int enable; //1正常   2 禁用
    private String deviceNo;
    private LocalDateTime createTime;
    private LocalDateTime updateTime;
    private String nickName;
    private String deviceNoMark;
    /**
     * 未成年人模式开关
     */
    private int minorModeSwitch;

    /**
     * 版本号
     */
    private String versionNum;

    /**
     * 手机系统 1 安卓 2ios
     */
    private Integer phoneType;

    /**
     * 登录方式1:qq 2:微信 3:手机号 4:游客
     */
    private Integer loginType;

    /**
     * 渠道号
     */
    private String channelId;

    /**
     * 年龄
     */
    private Integer age;

    /**
     * 应用标识
     */
    private String appPackageId;

    /**
     * 应用分组  0-同城约聊  1-花蜜  2-粉包 -1-未知
     */
    private Integer groupType;

    /**
     * 是否线上 0-线下 1-线上
     */
    private Integer online;

    public UserLogin() {

    }

    public UserLogin(Long userId) {
        super();
        this.userId = userId;
    }
}
